import { request } from '../../../request';

/** 新增网框 */
export function addFrame(data: any) {
  return request({
    url: '/qms/scrscreen/frame/add',
    method: 'post',
    data
  });
}

/** 删除网框 */
export function deleteFrame(data: any) {
  return request({
    url: '/qms/scrscreen/frame/delete',
    method: 'post',
    data
  });
}

/** 修改网框 */
export function updateFrame(data: any) {
  return request({
    url: '/qms/scrscreen/frame/update',
    method: 'post',
    data
  });
}

/** 网框报废 */
export function scrapFrame(data: any) {
  return request({
    url: '/qms/scrscreen/frame/scrapList',
    method: 'post',
    data
  });
}
